using System.Collections.Generic;

namespace LiJ.Framework.Msg.Mos
{
	/// <summary>
	/// 回复视频消息
	/// </summary>
	public class WxVideoReplyMsg : WxBaseReplyMsg
	{
		/// <summary>
		/// 通过素材管理接口上传多媒体文件，得到的id。
		/// </summary>
		public string MediaId
		{
			get;
			set;
		}

		/// <summary>
		/// 视频消息的标题
		/// </summary>
		public string Title
		{
			get;
			set;
		}

		/// <summary>
		/// 视频消息的描述
		/// </summary>
		public string Description
		{
			get;
			set;
		}

		public WxVideoReplyMsg()
		{
			base.MsgType = "video";
		}

		/// <inheritdoc />
		protected override void SetValueToXml()
		{
			Dictionary<string, object> obj = new Dictionary<string, object>
			{
				{
					"MediaId",
					(object)this.MediaId
				},
				{
					"Title",
					(object)this.Title
				},
				{
					"Description",
					(object)this.Description
				}
			};
			Dictionary<string, object> dictionary = (Dictionary<string, object>)(base["Video"] = obj);
		}
	}
}
